<?php
// 获得当前所设置可预约项目列表
// header("content-type:text/html;charset=UTF-8");
include_once("conn.php");

$select_depart = "SELECT * FROM department_infos ORDER BY department_ID ASC";
$result_depart = mysqli_query($connect_DB,$select_depart);
if($result_depart){
    while($row_depart = mysqli_fetch_object($result_depart)){
        echo"<option value='".$row_depart->department_ID."'>".$row_depart->department_Name."</option>";
    }
}else{
    echo "<option>查询出错</option>";
}

?>